package com.czk.security.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;


/**
 * 排除controller，有springmvc来进行扫描
 * 它对应web.xml中ContextLoaderListener的配置
 *
 * @Author:ChenZhangKun
 * @Date: 2021/3/18 22:17
 */
@Configuration
@ComponentScan(basePackages = "com.czk", excludeFilters = @ComponentScan.Filter(type = FilterType.ANNOTATION, value = Controller.class))
public class ApplicationConfig {

}
